home *** CD-ROM | disk | FTP | other *** search
- property ancestor, MinXLoc
- global gDBPicttextVarList
-
- on new me, buttonName, castName, xSprite, xLoc, descendant
- ancestor = new(script("generic Button"), buttonName, castName, xSprite, xLoc, me)
- MinXLoc = getAt(xLoc, 1)
- return me
- end
-
- on performFunction me
- tell the stage
- playSFX(5)
- end tell
- MyObj = getaProp(gDBPicttextVarList, GetObjProp())
- repeat while soundBusy(1)
- end repeat
- save(MyObj)
- return me
- end
-
- on buttonLoc me, size
- set the locH of sprite the pChannel of me to getAt([MinXLoc, 613], size)
- return me
- end
-